package com.ken.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ken.dto.DishDTO;
import com.ken.entity.Dish;
import com.ken.vo.DishVO;

import java.util.List;

public interface DishService extends IService<Dish> {
    void insertDishAndFlavor(DishDTO dto);

    void deleteById(String ids);

    void updateDishAndFlavor(DishDTO dishDTO);
    /**
     * 条件查询菜品和口味
     * @param dish
     * @return
     */
    List<DishVO> listWithFlavor(Dish dish);
}
